
<?php

/**
 * This Form is used to reset a user's account after the user has entered his/her username or password
 */

class Form_Recover extends Zend_Form 
 {
	public function __construct($options = null)
		{
		parent::__construct($options);
		$this->setName('Recover Password');
		
		//User Enters email address
		$emailaddress = new Zend_Form_Element_Text('Email:');
		$emailaddress->setLabel('Please enter your email address: ')
					 ->setRequired(true)
					 ->addFilter('StripTags')
					 ->addFilter('StringTrim')
					 ->addValidator('email')
					 ->addValidator('NotEmpty');
					 
			   
			
		$submit = new Zend_Form_Element_Submit('submit');
		$this->addElements(array($emailaddress, $submit));
		//$this->setAction('users');
		$this->setMethod('POST');
		}
}
 
